{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.top_html_code.tpl"}

{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.page_title.tpl" title=$PageTitle}

{eval var=$Article.body|unescape}

<center>
<form method="post" action="" name="nwsltrfrm1">
<input type="hidden" name="task" value="">
<table class="form">
<tr>
  <td class="name">{$lang.newsletter.email} *: </td>
  <td class="value"><input type="text" name="email" maxlength="50" value="{if $User.isLogin eq '1' && $smarty.post.name eq ''}{$User.info.email}{else}{$smarty.post.email}{/if}" /></td>
</tr>
<tr>
  <td class="name"></td>
  <td><br />&nbsp;<input type="button" class="tg12" onclick="$(nwsltrfrm1.task).val('subscribe');$(nwsltrfrm1).submit();" value="{$lang.newsletter.submitButton}" />&nbsp;&nbsp;&nbsp;<input type="button" class="tg12" onclick="$(nwsltrfrm1.task).val('unsubscribe');$(nwsltrfrm1).submit();" value="{$lang.newsletter.submitButton1}" /></td>
</tr>
</table>
</center>
</form>

{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.bottom_html_code.tpl"}